Finding the degree and leading coefficient